//
// Created by 郝正辉 on 2020/11/29.
//

#ifndef C_TEST_PQUEUE_H
#define C_TEST_PQUEUE_H

#include "heap.h"

typedef Heap PQueue;

#define pqueue_init heap_init
#define pqueue_destroy heap_destroy
#define pqueue_insert heap_insert
#define pqueue_extract heap_extract

#define pqueue_peek(pqueue) ((pqueue)->tree==NULL?NULL:(pqueue)->tree[0])
#define pqueue_size heap_size

#endif //C_TEST_PQUEUE_H
